
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>head</title>
    <link href="${pageContext.request.contextPath}/css/header.css" rel="stylesheet">
</head>
<body>
<div class="head-nav">
    <div class="nav-item">
        <div class="item-logo">
            <a href="${pageContext.request.contextPath}/index.jsp"></a>
        </div>
        <ul class="item-lists">
            <li class="list-index"><a href="${pageContext.request.contextPath}/index.jsp">首页</a></li>
<%--            <li class="list-item"><a href="${pageContext.request.contextPath}/destination/destination_index.jsp" >目的地</a></li>--%>
            <li class="list-item"><a href="${pageContext.request.contextPath}/freetowalk/freetowalk.jsp" >自由行</a></li>
            <li class="list-item"><a href="#">旅游定制</a></li>
            <li class="list-item"><a href="${pageContext.request.contextPath}/index.jsp#notes-lists-hot">游记社区</a></li>
        </ul>
        <div class="nav-login">
            <c:if test="${empty loginCustomer}">
            <a href="${pageContext.request.contextPath}/customer/login.jsp" >
                <i class="login-logo"></i>
                <span class="login-title">登录</span>
            </a>
            <a href="${pageContext.request.contextPath}/customer/register.jsp" >
                <i class="register-logo"></i>
                <span class="login-title">注册</span>
            </a>
            </c:if>

            <c:if test="${!empty loginCustomer}">
                <div class="login-info">
                    <div class="touxiang">
                        <a href="${pageContext.request.contextPath}/customer/customermain.jsp" class="custimg" target="_blank">
                            <img src="${loginCustomer.custProfile}">
                        </a>
                    </div>
                    <div class="name">
                        <a href="#" class="custname"><p>${loginCustomer.custNickname}</p></a>
                    </div>
                </div>
                <div class="exit">
                    <i></i>
                    <a href="${pageContext.request.contextPath}/cust/logout">退出</a>
                </div>

            </c:if>
        </div>
    </div>

</div>
</body>
</html>